from native cimport list

cdef class Iterator(object):
    pass

cdef class BufferingIterator(Iterator):
    cdef __buffer
    cdef list refill(self)

cdef class chunks(object):
    cdef int current_chunk
    cdef sizes
    cdef iterable

cdef class IndexedIterator(Iterator):
    cdef __lst
    cdef int __cur
